package com.googlecode.smartbinding.framework.core;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Define the source of binding.
 *
 * @author Iulian Dumitru
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Bindable {

    /**
     * The source binding class.
     *
     * @return - the source class.
     */
    Class<?> source();

    String alias() default "";

}
